package net.zjitc.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.zjitc.entity.Recruit;
import net.zjitc.entity.VO.RecruitVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * @auther 郭梦婷
 * @create 2022-05-05 14:07:31
 * @describe mapper类
 */
@Mapper
public interface RecruitMapper extends BaseMapper<Recruit> {

    Page<RecruitVo> selectallRecruit(Page<RecruitVo> page, Object o);

    Page<RecruitVo> selectRecruit(Page<RecruitVo> page, String querystring);

    RecruitVo selectRecruitVoById(Integer id);

    Page<RecruitVo> getMyCollectByUsername(Page<RecruitVo> page, String username);

    Page<RecruitVo> SearchRecruid(Page<RecruitVo> page, String querystring, Integer eduid, Integer placeid, Integer cateid);

    Page<RecruitVo> getRecruitByComId(Page<RecruitVo> page, Integer comid, String querystring);


    Page<RecruitVo> SearchRecruidByComId(Page<RecruitVo> page, Integer cateid, Integer eduid, int comid);
}
